﻿using System.Web.Mvc;
using Journal.Common.Helpers.HtmlControls;

namespace Journal.Common.Objects.Column
{
    public class StringColumn : BaseColumn
    {
        public StringColumn(string value)
        {
            Value = value;
        }

        private string Value { get; set; }

        public override MvcHtmlString Render()
        {
            return TableControl.StringColumn(Value); 
        }
    }
}